/**
 * 
 */
package com.hd123.rumba.qt.report;

public class PaperDefinition {
  int pageWidth = 0;
  int pageHeight = 0;
  int leftMargin = 10;
  int topMargin = 10;
  int rightMargin = 10;
  int bottomMargin = 10;

  static public int A4_HEIGHT = 680;   //尺寸：210*297mm，这里用的是点数
  static public int A4_WIDTH = 480;
  static public int A3_HEIGHT = 1980;   //297×864mm
  static public int A3_WIDTH = 680;
  
  static public int A4HeightMM = 297;
  static public int A4WidthMM = 210;
  static public int A3HeightMM = 864;
  static public int A3WidthMM = 297;
  static public int DefaultTopMargin = 10;
  static public int DefaultBottomMargin = 10;
  static public int DefaultLeftMargin = 10;
  static public int DefaultRightMargin = 10;

  public int getBottomMargin() {
    return bottomMargin;
  }

  public void setBottomMargin(int bottomMargin) {
    this.bottomMargin = bottomMargin;
  }

  public int getLeftMargin() {
    return leftMargin;
  }

  public void setLeftMargin(int leftMargin) {
    this.leftMargin = leftMargin;
  }

  public int getPageHeight() {
    return pageHeight;
  }

  public void setPageHeight(int pageHeight) {
    this.pageHeight = pageHeight;
  }

  public int getPageWidth() {
    return pageWidth;
  }

  public void setPageWidth(int pageWidth) {
    this.pageWidth = pageWidth;
  }

  public int getRightMargin() {
    return rightMargin;
  }

  public void setRightMargin(int rightMargin) {
    this.rightMargin = rightMargin;
  }

  public int getTopMargin() {
    return topMargin;
  }

  public void setTopMargin(int topMargin) {
    this.topMargin = topMargin;
  }

}
